//
//  JiaoYiDetailViewCell.m
//  ChinaA
//
//  Created by Mxionlly on 2018/11/7.
//  Copyright © 2018 Evan. All rights reserved.
//

#import "JiaoYiDetailViewCell.h"

@implementation JiaoYiDetailViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

+ (instancetype)cellWithTableView:(UITableView *)tableView index:(NSInteger)index
{
    static NSString *Service = @"JiaoYiDetailViewCell";
    JiaoYiDetailViewCell *cell = [tableView dequeueReusableCellWithIdentifier:Service];
    if (cell == nil) {
        cell =   [[[NSBundle mainBundle] loadNibNamed:@"JiaoYiDetailViewCell" owner:nil options:nil] objectAtIndex:index];
        cell.selectionStyle = UITableViewCellSelectionStyleNone;
        cell.backgroundColor = [UIColor whiteColor];
        cell.viewBg.layer.cornerRadius = 10;
        cell.viewBg.layer.shadowColor = [UIColor grayColor].CGColor;
        cell.viewBg.layer.shadowOpacity = 0.2f;
        cell.viewBg.layer.shadowRadius = 4.0f;
    }
    return cell;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}



@end
